<!doctype html>
<html lang="zh-cn">
<head>
	<meta charset="utf-8">
	<meta name="Description" content="页面描述" />
	<meta name="Keywords" content="页面关键字" />
	<meta name="viewport" content="width=640,minimum-scale=0,maximum-scale=4,user-scalable=no">
	<script>
		if (navigator.appVersion.indexOf('Android') != -1) {
			document.addEventListener("DOMContentLoaded", function (e) {
				document.querySelector('body').style.zoom = e.target.activeElement.clientWidth / 640;
			});
		}
	</script>
	<title>门店管理</title>
	<link href="css/common.css" rel="stylesheet">
</head>
<body>
	<div class="alliance-child-run">
		<section class="messageo-list">
			<ul>
				<a class="co5" href="个人中心_联盟商家_门店管理_子门店管理首页面.html">
					<li>湖南大学一分店<a href="jvascript:;" class="delete">删除</a></li>
				</a>
				<a class="co5" href="个人中心_联盟商家_门店管理_子门店管理首页面.html">
					<li>湖南大学二分店<a href="jvascript:;" class="delete">删除</a></li>
				</a>
				<a class="co5" href="个人中心_联盟商家_门店管理_子门店管理首页面.html">
					<li>湖南大学三分店<a href="jvascript:;" class="delete">删除</a></li>
				</a>
			</ul>
		</section>
	</div>
	<a href="个人中心_联盟商家_门店管理_添加子门店.html" class="add-address bt">新增门店</a>
</body>
<script src="js/zepto.min.js"></script>
<script>
	var listDelete = {
			Delete : $('.delete'),
			List : $('.messageo-list li'),
			dist : 30,
			into : function(e){
				listDelete.Delete.on('touchstart',function(){
					This = $(this).parent();
					This.css('opacity','0');
					setTimeout(function(){
						This.remove();
					},300)
				})
				listDelete.List.on('touchstart',function(e){
					StartX = e.changedTouches[0].clientX;
				})
				listDelete.List.on('touchmove',function(e){
					listThis = $(this);
					navX = StartX - e.changedTouches[0].clientX;
					deleteW = 0;
					if(navX <= -listDelete.dist){
						e.preventDefault();
						deleteW = 0;
					}else if(navX >= listDelete.dist){
						deleteW = -130;
					}
					listDelete.List.css({'margin-left':0})
					listThis.css({
						'margin-left':deleteW
					})
				})
			}
		}
	listDelete.into();
</script>
</html>